package han.cirno.corrupt.activity.welcome

import android.content.Intent
import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import dagger.hilt.android.AndroidEntryPoint
import han.cirno.corrupt.activity.BaseActivity
import han.cirno.corrupt.activity.main.MainActivity
import han.cirno.corrupt.data.DB
import han.cirno.corrupt.data.UserUnstructuredData

@AndroidEntryPoint
class WelcomeActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        this.enableEdgeToEdge()

        //resources.configuration.setLocale(Locale("fun"))

        //setContentView(R.layout.activity_welcome)
        UserUnstructuredData.loadData()
        DB.getInstance()

        startActivity(Intent(this, MainActivity::class.java))
        finish()
    }
}
